package com.enetiy;

/**
 * Useraccount entity. @author MyEclipse Persistence Tools
 */

public class Useraccount implements java.io.Serializable {

	// Fields

	private Integer id;
	private Users users;
	private String account;
	private Integer accountype;
	private Integer status;
	private String  weixinOpen;

	// Constructors

	/** default constructor */
	public Useraccount() {
	}

	/** minimal constructor */
	public Useraccount(Users users, String account) {
		this.users = users;
		this.account = account;
	}

	/** full constructor */
	public Useraccount(Users users, String account, Integer accountype,
			Integer status, String  weixinOpen) {
		this.users = users;
		this.account = account;
		this.accountype = accountype;
		this.status = status;
		this.weixinOpen = weixinOpen;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Integer getAccountype() {
		return this.accountype;
	}

	public void setAccountype(Integer accountype) {
		this.accountype = accountype;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getWeixinOpen() {
		return weixinOpen;
	}

	public void setWeixinOpen(String weixinOpen) {
		this.weixinOpen = weixinOpen;
	}
}